<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>建立新目录</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.ftp-mkdir" class="refentry">
   <div class="refnamediv">
    <h1 class="refname">ftp_mkdir</h1>
    <p class="verinfo">(PHP 4, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">ftp_mkdir</span> &mdash; <span class="dc-title">建立新目录</span></p>

   </div>
   <div class="refsect1 unknown-unknown-exampleu" id="refsect1-function.ftp-mkdir-unknown-unknown-exampleu">
    <h3 class="title">说明</h3>
    <div class="methodsynopsis dc-description">
     <span class="methodname"><strong>ftp_mkdir</strong></span>
      ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$ftp_stream</code></span>
     , <span class="methodparam"><span class="type">string</span> <code class="parameter">$directory</code></span>
     ) : <span class="type">string</span></div>

    <p class="para rdfs-comment">
     在 FTP 服务器上建立一个目录名为参数 <code class="parameter">directory</code> 的新目录。
    </p>
    <p class="para">
     如果成功返回新建的目录名，否则返回 <strong><code>FALSE</code></strong>。
    </p>
    <p class="para">
     参见 <span class="function"><a href="ftp_rmdir.html" class="function">ftp_rmdir()</a></span>。
    </p>
   </div>

  </div></div></div></body></html>